﻿using EYangFramework.Business;
using EYangFramework.Domain.Entitys.Entrys;
using EYangFramework.Domain.Entitys.ValueObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramewirk.Business.SystemManager.Interfaces
{
    public interface IBLLAuthManager:IBLLBase
    {
        List<Role> GetAllRoles();
        List<User> GetAllUsers();
        List<Navigation> GetAllNavigations();
        bool UpdateRoleNavigations(List<Navigation> selectedNavigations, string roleName);
        bool UpdateRoleMenus(List<Menu> selectedMenus, string roleName);
        bool UpdateUserNavigations(List<Navigation> selectedNavigations, string userName);
        bool UpdatUserMenus(List<Menu> selectedMenus, string userName);
    }
}
